package com.zerui.manager.accessauthpersonnel.convertor;


import com.zerui.manager.accessauthpersonnel.AccessAuthPersonnel;
import com.zerui.manager.accessauthpersonnel.entity.AccessAuthPersonnelDo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author wh
 * @create_time 2023-08-23 15:28
 */
@Mapper
public interface AccessAuthPersonnelConvert {

	AccessAuthPersonnelConvert INSTANCE = Mappers.getMapper(AccessAuthPersonnelConvert.class);

	List<AccessAuthPersonnel> covertPersonnelDoToAccessAuthPersonnel(List<AccessAuthPersonnelDo> accessAuthPersonnelDos);

	List<AccessAuthPersonnelDo> covertPersonnelToAccessAuthPersonnelDo(List<AccessAuthPersonnel> accessAuthPersonals);

	AccessAuthPersonnel covertPersonnelDoToAccessAuthPersonnel(AccessAuthPersonnelDo accessAuthPersonnelDo);
}
